﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Tiger.Models
{
    /// <summary>
    /// 请求参数查询类
    /// </summary>
    public class BaseQueryInfo
    {
        public string SortColumn { get; set; }

        public string SortDirection { get; set; }

        public int PageSize { get; set; }

        public int PageNumber { get; set; }

        public string QueryCondition { get; set; }

        public string WorkFlowId { get; set; }
    }

    /// <summary>
    /// 工作流查询
    /// </summary>
    public class WorkflowQueryInfo : BaseQueryInfo
    {
        public string Title { get; set; }

        public string DocumentNumber { get; set; }

        public DateTime? StartClosedOrHairTime { get; set; }

        public DateTime? EndClosedOrHairTime { get; set; }

        public string SequenceNumber { get; set; }

        public string SequenceName { get; set; }

        public DateTime? StartCreatedTime { get; set; }

        public DateTime? EndCreatedTime { get; set; }

        public DateTime? StartEndTime { get; set; }

        public DateTime? EndEndTime { get; set; }

        public DateTime? StartReceiveTime { get; set; }

        public DateTime? EndReceiveTime { get; set; }
    }
}